<?php
class CustomerController extends Zend_Controller_Action
{
    public function init()
    {
        Zend_Loader::loadClass('CustomerInfo');
    }
    public function listwithjsonAction()
    {
        $tab = new CustomerInfo;
        $this->view->recs = $tab->fetchAll();
    }
}